//
//  AboutWeViewController.m
//  Quick_News
//
//  Created by 曾凯峻 on 15/2/4.
//  Copyright (c) 2015年 zkj. All rights reserved.
//

#import "AboutWeViewController.h"

@interface AboutWeViewController ()
@property (nonatomic, retain) UILabel *label;
@end

@implementation AboutWeViewController
- (void)dealloc
{
    [self.label release];
    [super dealloc];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    for (NSInteger i = 0; i < 3; i++) {
        self.label = [[UILabel  alloc] initWithFrame:CGRectMake(5,  i * 30 + 10, 200, 40)];
        self.label.tag = 10 + i;
        [self.view addSubview:self.label];
        [self.label release];
        
        if (self.label.tag == 10) {
            self.label.text = @"Designed in China Dalian";
            self.label.font = [UIFont boldSystemFontOfSize:15.f];
        }
        if (self.label.tag == 11) {
            self.label.text = @"To participate in Zengkaijun; Houchenguang; Fangcifeng;";
            self.label.numberOfLines = 2;
            self.label.font = [UIFont boldSystemFontOfSize:13.f];
        }
        if (self.label.tag == 12) {
            self.label.text = @"Date: 2015 March";
            self.label.font = [UIFont boldSystemFontOfSize:13.f];
        }
    }}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
